package com.xunji.user.service;


public interface CacheService {


    public <T> T get(String key,Class T);

    public boolean set(String key,Object val,long ttl);

    public boolean set(String key,Object val);

    public boolean remove(String key);

    public boolean isExist(String key);
}
